﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class YoozooGameplayCityCityManagerWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(Yoozoo.Gameplay.City.CityManager);
			Utils.BeginObjectRegister(type, L, translator, 0, 10, 16, 15);
			
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateWallStar", _m_UpdateWallStar);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateWallStarSetting", _m_UpdateWallStarSetting);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateGangSetting", _m_UpdateGangSetting);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateTempGangSetting", _m_UpdateTempGangSetting);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshDetectorImmediately", _m_RefreshDetectorImmediately);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ApplyRenderSetting", _m_ApplyRenderSetting);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnLodChange", _m_OnLodChange);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnZoomChange", _m_OnZoomChange);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Dispose", _m_Dispose);
			
			
			Utils.RegisterFunc(L, Utils.GETTER_IDX, "TimelineManager", _g_get_TimelineManager);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "cityRoot", _g_get_cityRoot);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "mobileTouchCamera", _g_get_mobileTouchCamera);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "touchCameraController", _g_get_touchCameraController);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "innerCityCameraComponent", _g_get_innerCityCameraComponent);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "gridGraph", _g_get_gridGraph);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "RoomDataManager", _g_get_RoomDataManager);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "CityTouchManager", _g_get_CityTouchManager);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "CityEventManager", _g_get_CityEventManager);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "CityLODManager", _g_get_CityLODManager);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "CityRenderSettingMgr", _g_get_CityRenderSettingMgr);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "CityAIManager", _g_get_CityAIManager);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "LightController", _g_get_LightController);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "setRimLightCamera", _g_get_setRimLightCamera);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "SceneObjectLoadController", _g_get_SceneObjectLoadController);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "SceneDetector", _g_get_SceneDetector);
            
			Utils.RegisterFunc(L, Utils.SETTER_IDX, "cityRoot", _s_set_cityRoot);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "mobileTouchCamera", _s_set_mobileTouchCamera);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "touchCameraController", _s_set_touchCameraController);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "innerCityCameraComponent", _s_set_innerCityCameraComponent);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "gridGraph", _s_set_gridGraph);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "RoomDataManager", _s_set_RoomDataManager);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "CityTouchManager", _s_set_CityTouchManager);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "CityEventManager", _s_set_CityEventManager);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "CityLODManager", _s_set_CityLODManager);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "CityRenderSettingMgr", _s_set_CityRenderSettingMgr);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "CityAIManager", _s_set_CityAIManager);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "LightController", _s_set_LightController);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "setRimLightCamera", _s_set_setRimLightCamera);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "SceneObjectLoadController", _s_set_SceneObjectLoadController);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "SceneDetector", _s_set_SceneDetector);
            
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 1, 5, 4);
			
			
            
			Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "Instance", _g_get_Instance);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "OnUpdateGangSetting", _g_get_OnUpdateGangSetting);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "OnUpdateTempGangSetting", _g_get_OnUpdateTempGangSetting);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "OnUpdateWallStar", _g_get_OnUpdateWallStar);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "OnUpdateWallStarSetting", _g_get_OnUpdateWallStarSetting);
            
			Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "OnUpdateGangSetting", _s_set_OnUpdateGangSetting);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "OnUpdateTempGangSetting", _s_set_OnUpdateTempGangSetting);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "OnUpdateWallStar", _s_set_OnUpdateWallStar);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "OnUpdateWallStarSetting", _s_set_OnUpdateWallStarSetting);
            
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 1)
				{
					
					var gen_ret = new Yoozoo.Gameplay.City.CityManager();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.City.CityManager constructor!");
            
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 0)
				{
					
					var gen_ret = new Yoozoo.Gameplay.City.CityManager();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.City.CityManager constructor!");
            
        }

        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Init(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Transform _dataRoot = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
                    UnityEngine.Transform _cameraRoot = (UnityEngine.Transform)translator.GetObject(L, 3, typeof(UnityEngine.Transform));
                    UnityEngine.Transform _renderSceneObj = (UnityEngine.Transform)translator.GetObject(L, 4, typeof(UnityEngine.Transform));
                    
                    gen_to_be_invoked.Init( _dataRoot, _cameraRoot, _renderSceneObj );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateWallStar(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.UpdateWallStar(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateWallStarSetting(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _rootLevel = LuaAPI.xlua_tointeger(L, 2);
                    int _starLevel = LuaAPI.xlua_tointeger(L, 3);
                    
                    gen_to_be_invoked.UpdateWallStarSetting( _rootLevel, _starLevel );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateGangSetting(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.UpdateGangSetting(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateTempGangSetting(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _gangLogoIndex = LuaAPI.xlua_tointeger(L, 2);
                    string _gangName = LuaAPI.lua_tostring(L, 3);
                    
                    gen_to_be_invoked.UpdateTempGangSetting( _gangLogoIndex, _gangName );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RefreshDetectorImmediately(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    SceneDetectorBase _sceneDetector = (SceneDetectorBase)translator.GetObject(L, 2, typeof(SceneDetectorBase));
                    
                    gen_to_be_invoked.RefreshDetectorImmediately( _sceneDetector );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ApplyRenderSetting(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    Gameplay.PVE.GgameSceneConfig _mapData = (Gameplay.PVE.GgameSceneConfig)translator.GetObject(L, 2, typeof(Gameplay.PVE.GgameSceneConfig));
                    System.Action _action = translator.GetDelegate<System.Action>(L, 3);
                    
                    gen_to_be_invoked.ApplyRenderSetting( _mapData, _action );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnLodChange(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _lodLevel = LuaAPI.xlua_tointeger(L, 2);
                    
                    gen_to_be_invoked.OnLodChange( _lodLevel );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnZoomChange(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 2);
                    
                    gen_to_be_invoked.OnZoomChange( _zoom );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Dispose(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.Dispose(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_TimelineManager(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.TimelineManager);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_Instance(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Gameplay.City.CityManager.Instance);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_OnUpdateGangSetting(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Gameplay.City.CityManager.OnUpdateGangSetting);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_OnUpdateTempGangSetting(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Gameplay.City.CityManager.OnUpdateTempGangSetting);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_OnUpdateWallStar(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Gameplay.City.CityManager.OnUpdateWallStar);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_OnUpdateWallStarSetting(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Gameplay.City.CityManager.OnUpdateWallStarSetting);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_cityRoot(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.cityRoot);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_mobileTouchCamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.mobileTouchCamera);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_touchCameraController(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.touchCameraController);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_innerCityCameraComponent(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.innerCityCameraComponent);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_gridGraph(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.gridGraph);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_RoomDataManager(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.RoomDataManager);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_CityTouchManager(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.CityTouchManager);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_CityEventManager(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.CityEventManager);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_CityLODManager(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.CityLODManager);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_CityRenderSettingMgr(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.CityRenderSettingMgr);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_CityAIManager(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.CityAIManager);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_LightController(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.LightController);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_setRimLightCamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.setRimLightCamera);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_SceneObjectLoadController(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.SceneObjectLoadController);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_SceneDetector(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.SceneDetector);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_OnUpdateGangSetting(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    Yoozoo.Gameplay.City.CityManager.OnUpdateGangSetting = translator.GetDelegate<System.Action>(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_OnUpdateTempGangSetting(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    Yoozoo.Gameplay.City.CityManager.OnUpdateTempGangSetting = translator.GetDelegate<System.Action<int, string>>(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_OnUpdateWallStar(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    Yoozoo.Gameplay.City.CityManager.OnUpdateWallStar = translator.GetDelegate<System.Action>(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_OnUpdateWallStarSetting(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    Yoozoo.Gameplay.City.CityManager.OnUpdateWallStarSetting = translator.GetDelegate<System.Action<int, int>>(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_cityRoot(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.cityRoot = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_mobileTouchCamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.mobileTouchCamera = (BitBenderGames.MobileTouchCamera)translator.GetObject(L, 2, typeof(BitBenderGames.MobileTouchCamera));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_touchCameraController(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.touchCameraController = (BitBenderGames.TouchCameraController)translator.GetObject(L, 2, typeof(BitBenderGames.TouchCameraController));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_innerCityCameraComponent(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.innerCityCameraComponent = (Yoozoo.Modules.InnerCity.TouchCamera.InnerCityCameraComponent)translator.GetObject(L, 2, typeof(Yoozoo.Modules.InnerCity.TouchCamera.InnerCityCameraComponent));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_gridGraph(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.gridGraph = (Yoozoo.Core.PathFinder.GgameGridGraph)translator.GetObject(L, 2, typeof(Yoozoo.Core.PathFinder.GgameGridGraph));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_RoomDataManager(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.RoomDataManager = (Yoozoo.Gameplay.City.RoomDataManager)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.City.RoomDataManager));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_CityTouchManager(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.CityTouchManager = (Yoozoo.Gameplay.City.CityTouchManager)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.City.CityTouchManager));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_CityEventManager(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.CityEventManager = (Yoozoo.Gameplay.City.CityEventManager)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.City.CityEventManager));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_CityLODManager(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.CityLODManager = (Yoozoo.Gameplay.City.CityLODManager)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.City.CityLODManager));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_CityRenderSettingMgr(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.CityRenderSettingMgr = (Yoozoo.Gameplay.City.CityRenderSettingMgr)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.City.CityRenderSettingMgr));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_CityAIManager(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.CityAIManager = (Yoozoo.Gameplay.City.CityAIManager)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.City.CityAIManager));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_LightController(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.LightController = (ImageEffects.LightController)translator.GetObject(L, 2, typeof(ImageEffects.LightController));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_setRimLightCamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.setRimLightCamera = (SetRimLightCameraDir)translator.GetObject(L, 2, typeof(SetRimLightCameraDir));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_SceneObjectLoadController(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.SceneObjectLoadController = (SceneObjectLoadController)translator.GetObject(L, 2, typeof(SceneObjectLoadController));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_SceneDetector(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.CityManager gen_to_be_invoked = (Yoozoo.Gameplay.City.CityManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.SceneDetector = (SceneDetectorBase)translator.GetObject(L, 2, typeof(SceneDetectorBase));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
		
		
		
		
    }
}
